OpenReport Method (Application Object)

Sample Code - OpenReport Method

The OpenReport method opens an existing report file, creating an instance of the Report object. Through the Report Object, you can change formatting, formulas, selection formulas, and sort fields for the report, then print, preview, or export the report. This method corresponds to PEOpenPrintJob, of the Crystal Report Engine API.

Syntax
Dim rep As Report 
Set rep = app.OpenReport(ReportFilePath)
Parameters

ReportFilePath

Specifies a string value indicating the file name and path of the report that you want to open.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com